package com.cenyol.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Cenyol mail: mr.cenyol@gmail.com
 * @date 17/08/2017 20:56
 */
@Controller
@RequestMapping(value = "/home")
public class HomeController {
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index() {
        return "home";
    }
}
